Details

Time bar (total: 4.9s)

sample36.0ms

Algorithm
intervals
Results
16.0ms285×body80valid
4.0ms84×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

localize119.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
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 distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
12.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
11.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)))

series301.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0246646
1890606
23702588
35001584

prune293.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.9b

localize116.0ms

Local error

Found 4 expressions with local error:

9.8b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

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

simplify112.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune314.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.9b

localize124.0ms

Local error

Found 4 expressions with local error:

22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite13.0ms

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

series329.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
95.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify82.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0202586
1639554
22437548
35001544

prune410.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 5.9b

localize125.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0b
(/ (* 2.0 c) (+ (- b) (- (* 2.0 (/ (* a c) b)) b)))
4.8b
(/ (* a c) b)
22.5b
(sqrt (- (* b b) (* (* 4.0 a) c)))

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

series351.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0440738
12043649
25001646

prune302.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 5.7b

regimes182.0ms

Accuracy

93.7% (0.9b remaining)

Error of 7.5b against oracle of 6.6b and baseline of 21.3b

bsearch198.0ms

Steps
ItersRangePoint
6
1.1594993669073426e+93
1.3006782908792091e+94
7.192356494973303e+93
7
-7.220328558483205e-277
-2.8795960734924236e-278
-2.930047534917091e-278
6
-1.1860998636736231e+119
-2.8360830985906895e+118
-1.1730875761889226e+119

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06375
16375

end0.0ms

sample876.0ms

Algorithm
intervals
Results
470.0ms8682×body80valid
140.0ms2947×body80nan