Details

Time bar (total: 4.6s)

sample36.0ms

Algorithm
intervals
Results
17.0ms272×body80valid
4.0ms75×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.0b

Counts
2 → 1

localize113.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.3b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series295.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune266.0ms

Filtered
75 candidates to 60 candidates (80.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New69675
Fresh000
Picked101
Done000
Total70676

Merged error: 6.9b

Counts
76 → 6

localize120.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.9b
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
4.3b
(/ (* a c) b)
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.0ms

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

series248.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
79.0ms
(/ (- (* 2.0 (/ (* a c) b)) (* 2 b)) (* 2.0 a))
19.0ms
(/ (* a c) b)
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0478706
12176625
25001623

prune293.0ms

Filtered
90 candidates to 66 candidates (73.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New86490
Fresh325
Picked101
Done000
Total90696

Merged error: 6.4b

Counts
96 → 6

localize114.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.6b
(- (* b b) (* (* 4.0 a) c))
1.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

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

series367.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(/ (* 2.0 c) (- (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
44.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0362863
11529768
25001759

prune267.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh325
Picked101
Done000
Total85994

Merged error: 6.2b

Counts
94 → 9

localize117.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
10.8b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series273.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0244693
1972594
24360573
35002571

prune249.0ms

Filtered
69 candidates to 54 candidates (78.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh088
Picked011
Done000
Total69978

Merged error: 6.2b

Counts
78 → 9

regimes187.0ms

Accuracy

88.9% (1.6b remaining)

Error of 7.8b against oracle of 6.2b and baseline of 21.0b

bsearch282.0ms

Steps
ItersRangePoint
9
1.314833454423355e+61
1.6016599845544569e+66
4.0655806569220817e+64
10
-1.3066530250093286e-290
-5.2386176618841106e-303
-5.297320404694129e-303
10
-1.5021501144069279e+69
-2.501148282372368e+59
-1.2963688795759268e+64

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06158
16158

end0.0ms

sample835.0ms

Algorithm
intervals
Results
450.0ms8710×body80valid
136.0ms2908×body80nan