Details

Time bar (total: 4.7s)

sample43.0ms

Algorithm
intervals
Results
20.0ms287×body80valid
6.0ms95×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

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: 19.4b

Counts
2 → 1

localize118.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
2.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite20.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:
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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
66.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune262.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New63972
Fresh000
Picked101
Done000
Total64973

Merged error: 7.1b

Counts
73 → 9

localize122.0ms

Local error

Found 4 expressions with local error:

8.3b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

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

series286.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify108.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune295.0ms

Filtered
70 candidates to 59 candidates (84.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh268
Picked011
Done000
Total70979

Merged error: 7.1b

Counts
79 → 9

localize122.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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)))
4.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)))

series282.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune357.0ms

Filtered
72 candidates to 60 candidates (83.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh077
Picked011
Done011
Total72981

Merged error: 7.1b

Counts
81 → 9

localize120.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.9b
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
6.1b
(/ (* a c) b)
21.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.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 associate-/r*
pow1
cbrt-undiv div-exp sqrt-prod
flip3-- flip--
frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ 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 neg-log
Counts
4 → 77
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
9.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
5.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
67.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
18.0ms
(/ (* a c) b)
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0450688
12176609
25001607

prune271.0ms

Filtered
89 candidates to 65 candidates (73.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New85489
Fresh246
Picked101
Done022
Total881098

Merged error: 6.1b

Counts
98 → 10

regimes281.0ms

Accuracy

89.5% (1.6b remaining)

Error of 8.2b against oracle of 6.7b and baseline of 21.5b

bsearch167.0ms

Steps
ItersRangePoint
7
4.4312058130773924e+95
1.951780157010812e+97
1.6290075329134609e+97
9
-8.211399685419546e+34
-2.0557429965048975e+28
-4.027942602901873e+31

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05661
15661

end0.0ms

sample1.1s

Algorithm
intervals
Results
597.0ms8783×body80valid
187.0ms2979×body80nan