Details

Time bar (total: 5.1s)

sample53.0ms

Algorithm
intervals
Results
30.0ms282×body80valid
7.0ms79×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.7b

localize116.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
2.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.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:
2.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series264.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune270.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 6.2b

localize121.0ms

Local error

Found 4 expressions with local error:

9.6b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.4b
(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))))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series294.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune319.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 6.2b

localize118.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* b b) (* (* 4.0 a) c))
3.4b
(/ (* a c) b)
3.5b
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite41.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-/l*
add-log-exp
pow1
cbrt-undiv div-exp associate-/r* distribute-lft-out--
flip3-- sqrt-prod flip--
distribute-rgt-neg-in frac-2neg sqrt-div prod-exp clear-num cbrt-unprod div-inv associate-/l/ difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log div-sub
Counts
4 → 78
Calls
4 calls:
2.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(/ (* a c) b)
30.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (* b b) (* (* 4.0 a) c))
20.0ms
(/ (* a c) b)
63.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0426687
12047606
25001602

prune326.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 5.6b

localize114.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.3b
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.4b
(- (* b b) (* (* 4.0 a) c))
20.4b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite44.0ms

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

series386.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
190.0ms
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
49.0ms
(- (* b b) (* (* 4.0 a) c))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0368756
11530656
25001644

prune255.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.5b

regimes166.0ms

Accuracy

92.9% (1.0b remaining)

Error of 7.5b against oracle of 6.5b and baseline of 21.1b

bsearch180.0ms

Steps
ItersRangePoint
9
1.0966316111626227e+109
8.247031634266059e+117
1.2199100360588728e+112
7
-1.6124847451767553e+146
-7.05891254188438e+144
-7.021208029070988e+145

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05852
15852

end0.0ms

sample1.4s

Algorithm
intervals
Results
848.0ms8735×body80valid
264.0ms2992×body80nan