Details

Time bar (total: 4.5s)

sample34.0ms

Algorithm
intervals
Results
14.0ms288×body80valid
4.0ms90×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.1b

localize115.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
1.2b
(- (* b b) (* (* 4.0 a) c))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series239.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- (* b b) (* (* 4.0 a) c))
53.0ms
(- (* b b) (* (* 4.0 a) c))
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify91.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0149476
1576446
22486444
35001440

prune257.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 6.9b

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

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

series278.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune337.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.9b

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

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

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

simplify73.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0129540
1469520
21914516
35002508

prune346.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.9b

localize120.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
3.2b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
4.5b
(/ (* a c) b)
22.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

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

series320.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0397657
11995574
25001570

prune298.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 6.3b

regimes194.0ms

Accuracy

90.7% (1.2b remaining)

Error of 7.7b against oracle of 6.5b and baseline of 19.7b

bsearch194.0ms

Steps
ItersRangePoint
9
8.465625442272063e+58
8.825425083170634e+65
6.991427322965568e+65
10
-6.135068293664718e+160
-1.4913639427070542e+150
-1.3383981558932767e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06071
16071

end0.0ms

sample849.0ms

Algorithm
intervals
Results
455.0ms8727×body80valid
141.0ms2980×body80nan