Details

Time bar (total: 4.5s)

sample33.0ms

Algorithm
intervals
Results
14.0ms278×body80valid
3.0ms76×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.6b

localize120.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series265.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify118.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune286.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 7.0b

localize123.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.7b
(/ (* a c) b)
5.0b
(/ (+ (- b) (- (* 2.0 (/ (* a c) b)) b)) (* 2.0 a))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite86.0ms

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

series227.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0ms
(/ (* a c) b)
56.0ms
(/ (+ (- b) (- (* 2.0 (/ (* a c) b)) b)) (* 2.0 a))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0478774
12145683
25002678

prune352.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.6b

localize118.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 4.0 a) c)
0.4b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt
sqrt-prod
flip3-- diff-log associate-*r* pow-prod-down prod-exp flip-- cbrt-unprod
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 associate-*l* neg-log *-commutative
Counts
4 → 63
Calls
4 calls:
6.0ms
(* (* 4.0 a) c)
2.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 4.0 a) c)
49.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0298517
11262478
25001471

prune270.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.6b

localize121.0ms

Local error

Found 4 expressions with local error:

15.6b
(cbrt (* (* 4.0 a) c))
15.6b
(cbrt (* (* 4.0 a) c))
15.6b
(cbrt (* (* 4.0 a) c))
24.7b
(sqrt (- (* b b) (* (* (cbrt (* (* 4.0 a) c)) (cbrt (* (* 4.0 a) c))) (cbrt (* (* 4.0 a) c)))))

rewrite19.0ms

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

series423.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (* (* 4.0 a) c))
95.0ms
(cbrt (* (* 4.0 a) c))
97.0ms
(cbrt (* (* 4.0 a) c))
136.0ms
(sqrt (- (* b b) (* (* (cbrt (* (* 4.0 a) c)) (cbrt (* (* 4.0 a) c))) (cbrt (* (* 4.0 a) c)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0205528
1568487
21926468
35001466

prune252.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.6b

regimes206.0ms

Accuracy

92.2% (1.1b remaining)

Error of 7.9b against oracle of 6.8b and baseline of 21.1b

bsearch208.0ms

Steps
ItersRangePoint
8
1.5276508475467709e+44
4.1560730947117816e+46
4.047592289682709e+46
11
-1.829086240692416e+154
-2.187052964502477e+134
-8.555281377770497e+140

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06070
16070

end0.0ms

sample826.0ms

Algorithm
intervals
Results
439.0ms8732×body80valid
134.0ms2861×body80nan