Details

Time bar (total: 4.9s)

sample40.0ms

Algorithm
intervals
Results
17.0ms284×body80valid
6.0ms116×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.9b

localize122.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.6b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
13.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
76.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify119.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune290.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.4b

localize129.0ms

Local error

Found 4 expressions with local error:

9.5b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1
add-exp-log cbrt-div add-cbrt-cube
flip3-- sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 54
Calls
4 calls:
5.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series366.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
101.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
104.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0368805
11471730
25001697

prune361.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.4b

localize127.0ms

Local error

Found 4 expressions with local error:

21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-cube-cbrt *-un-lft-identity
pow1
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip-- add-log-exp
cbrt-prod rem-sqrt-square sqrt-pow1 pow1/2
cbrt-div
pow1/3
Counts
4 → 58
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
7.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series322.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
102.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0202563
1639537
22437532
35001526

prune388.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 5.4b

localize126.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.3b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.5b
(/ (* a c) b)
21.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
13×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt
add-log-exp
times-frac
pow1
cbrt-undiv div-exp associate-/r* associate-/l*
sqrt-prod
flip3-- frac-2neg sqrt-div prod-exp clear-num sum-log flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out
+-commutative neg-sub0 associate-+l- rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 div-sub neg-log flip-+
Counts
4 → 75
Calls
4 calls:
16.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
19.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
3.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
26.0ms
(/ (* a c) b)
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify62.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0487658
12217575
25001569

prune312.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 4.7b

regimes176.0ms

Accuracy

90.6% (1.3b remaining)

Error of 7.9b against oracle of 6.6b and baseline of 20.3b

bsearch192.0ms

Steps
ItersRangePoint
9
2.6683347110001497e+63
3.895668027475672e+69
1.0687144212176309e+68
8
-8.514637683680733e+89
-5.903813795423329e+86
-1.3954976233079205e+88

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05656
15656

end0.0ms

sample926.0ms

Algorithm
intervals
Results
509.0ms8712×body80valid
158.0ms2901×body80nan