Details

Time bar (total: 4.7s)

sample34.0ms

Algorithm
intervals
Results
14.0ms277×body80valid
4.0ms86×body80nan

simplify16.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.6b

localize83.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite64.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:
22.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
12.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series304.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune277.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.1b

localize88.0ms

Local error

Found 4 expressions with local error:

12.3b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite38.0ms

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

series294.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune309.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 8.1b

localize88.0ms

Local error

Found 4 expressions with local error:

5.5b
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.8b
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite60.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:
14.0ms
(exp (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
27.0ms
(- (- b) (exp (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series297.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0260743
1846692
23258660
35001644

prune314.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 8.1b

localize95.0ms

Local error

Found 4 expressions with local error:

5.9b
(pow E (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
21.3b
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite62.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:
12.0ms
(pow E (log (sqrt (- (* b b) (* (* 4.0 a) c)))))
32.0ms
(- (- b) (pow E (log (sqrt (- (* b b) (* (* 4.0 a) c))))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series306.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0340923
11179884
25001869

prune346.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 7.2b

regimes205.0ms

Accuracy

89.5% (1.4b remaining)

Error of 8.0b against oracle of 6.6b and baseline of 19.8b

bsearch135.0ms

Steps
ItersRangePoint
7
7.363656180201337e+60
1.0503009045500217e+63
1.0273828621120979e+63
6
-4.825637549922246e+161
-3.767479681602937e+160
-3.849478339989316e+160

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05055
15055

end0.0ms

sample913.0ms

Algorithm
intervals
Results
443.0ms8736×body80valid
132.0ms2807×body80nan