Details

Time bar (total: 5.0s)

sample34.0ms

Algorithm
intervals
Results
14.0ms275×body80valid
5.0ms99×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: 18.5b

localize124.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(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:
3.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)))

series276.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0227581
1878551
23814541
35002538

prune279.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 7.9b

localize126.0ms

Local error

Found 4 expressions with local error:

7.3b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
21.6b
(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:
4.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)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify112.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (105.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune340.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 7.9b

localize125.0ms

Local error

Found 4 expressions with local error:

21.6b
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
22.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))
22.4b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-- flip--
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log add-cbrt-cube add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 89
Calls
4 calls:
16.0ms
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series373.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(sqrt (* (* (cbrt (- (* b b) (* (* 4.0 a) c))) (cbrt (- (* b b) (* (* 4.0 a) c)))) (cbrt (- (* b b) (* (* 4.0 a) c)))))
99.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
98.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
105.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify190.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 3 (168.0ms)

IterNodesCost
03481856
19131805
241361785
350021704

prune419.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 7.9b

localize125.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.3b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
6.3b
(/ (* a c) b)
21.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
21×*-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 sqrt-prod distribute-lft-out
distribute-rgt-neg-in
flip3-- frac-2neg sqrt-div diff-log prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 81
Calls
4 calls:
8.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
4.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series358.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
185.0ms
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
19.0ms
(/ (* a c) b)
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0440738
12043649
25001646

prune330.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.8b

regimes220.0ms

Accuracy

92.7% (1.0b remaining)

Error of 7.8b against oracle of 6.8b and baseline of 20.3b

bsearch174.0ms

Steps
ItersRangePoint
9
1.846147638884188e+104
1.7844061428947563e+109
7.447142365186095e+108
8
-5.17073721832495e+150
-9.039588443684179e+147
-9.840754535006383e+147

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05659
15659

end0.0ms

sample825.0ms

Algorithm
intervals
Results
441.0ms8713×body80valid
136.0ms2974×body80nan