Details

Time bar (total: 5.8s)

sample36.0ms

Algorithm
intervals
Results
15.0ms281×body80valid
5.0ms113×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03818
17918
213618
316118
417318
517718
617718

prune8.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.6b

Counts
2 → 1

localize120.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
49×sqrt-prod
38×*-un-lft-identity
36×unswap-sqr
32×difference-of-squares
18×associate-*l*
14×distribute-lft-out--
12×add-log-exp
pow1 add-cube-cbrt swap-sqr *-commutative
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
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 105
Calls
4 calls:
40.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
38.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
30.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series317.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
03131102
110291062
241751047
350011031

prune297.0ms

Filtered
117 candidates to 72 candidates (38.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1107117
Fresh000
Picked101
Done000
Total1117118

Merged error: 7.1b

Counts
118 → 7

localize122.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
149×add-sqr-sqrt
73×sqrt-prod
54×unswap-sqr
47×*-un-lft-identity difference-of-squares
27×associate-*l*
20×distribute-lft-out--
swap-sqr *-commutative
add-log-exp
pow1 add-cube-cbrt
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 distribute-rgt-neg-in neg-log
Counts
4 → 126
Calls
4 calls:
41.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
30.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series309.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
02751293
19051272
235811261
350021239

prune383.0ms

Filtered
138 candidates to 78 candidates (43.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1371138
Fresh156
Picked101
Done000
Total1396145

Merged error: 7.1b

Counts
145 → 6

localize129.0ms

Local error

Found 4 expressions with local error:

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

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
96×sqrt-prod
72×unswap-sqr
60×difference-of-squares
56×*-un-lft-identity
36×associate-*l*
24×distribute-lft-out--
12×swap-sqr *-commutative
pow1 add-cube-cbrt sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp
Counts
4 → 144
Calls
4 calls:
28.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
31.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series308.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
01961452
15681432
220071428
350011396

prune470.0ms

Filtered
156 candidates to 84 candidates (46.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh055
Picked011
Done000
Total1566162

Merged error: 7.1b

Counts
162 → 6

localize125.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.2b
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
5.3b
(/ (* a c) b)
22.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
300×*-un-lft-identity
178×add-sqr-sqrt
156×times-frac
136×distribute-lft-out--
80×associate-*l*
76×add-cube-cbrt
45×associate-*r*
40×distribute-rgt-neg-in
33×unswap-sqr
28×difference-of-squares
24×sqrt-prod
22×associate-/l*
18×*-commutative
15×associate-/r*
14×add-exp-log add-cbrt-cube
add-log-exp
pow1
cbrt-undiv div-sub div-exp
swap-sqr
neg-sub0 flip3-- frac-2neg sqrt-div prod-exp clear-num sum-log flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out associate--r+
+-commutative associate--l- associate-+l- sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 278
Calls
4 calls:
40.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
39.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
8.0ms
(/ (* a c) b)
32.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
65.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
21.0ms
(/ (* a c) b)
79.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify125.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
09732998
145182909
250012901

prune764.0ms

Filtered
290 candidates to 155 candidates (46.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2855290
Fresh134
Picked101
Done011
Total2879296

Merged error: 6.3b

Counts
296 → 9

regimes226.0ms

Accuracy

89.4% (1.5b remaining)

Error of 8.1b against oracle of 6.6b and baseline of 20.7b

bsearch93.0ms

Steps
ItersRangePoint
0
1.3836563058951246e+50
1.390978468581987e+50
1.3873173872385558e+50
9
-1.1122706149547327e+40
-5.692476046189149e+32
-1.087684368982218e+40

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05665
15665

end0.0ms

sample846.0ms

Algorithm
intervals
Results
455.0ms8767×body80valid
132.0ms2796×body80nan