Details

Time bar (total: 4.7s)

sample33.0ms

Algorithm
intervals
Results
14.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

localize123.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)))

rewrite32.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:
11.0ms
(+ (- b) (sqrt (- (* 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)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
83.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)))
78.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0246646
1890606
23700588
35001584

prune298.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.0b

localize123.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)))

rewrite20.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)))
8.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)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0129544
1469520
21914516
35002508

prune347.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 8.0b

localize124.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))))))

rewrite30.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:
5.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)))
16.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
83.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify100.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0260743
1849692
23261660
35001644

prune335.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 8.0b

localize134.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))))))

rewrite32.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)))
17.0ms
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

series309.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(pow E (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify42.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0340920
11172884
25001869

prune355.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 6.8b

regimes168.0ms

Accuracy

92% (1.1b remaining)

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

bsearch129.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

sample802.0ms

Algorithm
intervals
Results
431.0ms8719×body80valid
126.0ms2917×body80nan