Details

Time bar (total: 4.6s)

sample35.0ms

Algorithm
intervals
Results
15.0ms276×body80valid
4.0ms88×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: 19.3b

localize119.0ms

Local error

Found 4 expressions with local error:

1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite35.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:
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
13.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)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify113.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0246646
1890606
23700588
35001584

prune276.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.0b

localize119.0ms

Local error

Found 4 expressions with local error:

22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(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)))

series285.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify67.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune325.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 8.0b

localize122.0ms

Local error

Found 4 expressions with local error:

5.4b
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.8b
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×*-un-lft-identity
10×sqrt-prod
add-cube-cbrt
pow1 log-prod exp-sum add-log-exp
exp-prod sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
sqrt-pow1 pow1/2 log-pow difference-of-squares
rem-sqrt-square log-div exp-diff diff-log distribute-lft-out--
associate--l- neg-sub0 sub-neg distribute-rgt-neg-in neg-log rem-exp-log
Counts
4 → 71
Calls
4 calls:
6.0ms
(exp (log (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)))
17.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
80.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify102.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0260743
1849692
23261660
35001644

prune312.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 8.0b

localize132.0ms

Local error

Found 4 expressions with local error:

5.8b
(pow E (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.8b
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
14×*-un-lft-identity
10×add-cube-cbrt sqrt-prod
pow1
unpow-prod-up log-prod add-log-exp
pow-unpow sqrt-div
add-exp-log difference-of-squares
unpow-prod-down flip3-- add-cbrt-cube flip--
sqrt-pow1 pow1/2 log-pow
rem-sqrt-square log-div diff-log pow-exp distribute-lft-out-- pow-sub sqr-pow
associate--l- neg-sub0 pow-to-exp sub-neg e-exp-1 pow-pow distribute-rgt-neg-in neg-log
Counts
4 → 80
Calls
4 calls:
5.0ms
(pow E (log (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)))
19.0ms
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

series295.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(pow E (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0340923
11179884
25001869

prune346.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 6.8b

regimes162.0ms

Accuracy

92% (1.1b remaining)

Error of 7.4b against oracle of 6.3b and baseline of 19.9b

bsearch132.0ms

Steps
ItersRangePoint
5
5.10808278574109e+145
1.867402505400959e+146
6.116927972497105e+145
7
-3.370403232278448e+122
-3.9321797204437913e+120
-6.8563483521743725e+121

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05461
15461

end0.0ms

sample892.0ms

Algorithm
intervals
Results
486.0ms8719×body80valid
143.0ms2917×body80nan