Details

Time bar (total: 5.9s)

sample61.0ms

Algorithm
intervals
Results
15.0ms47×body2560valid
11.0ms167×body80valid
9.0ms32×body1280valid
6.0ms107×body80nan
3.0ms16×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
1.2b
(- (* b b) (* (* 3.0 a) c))
1.6b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*l* neg-log *-commutative flip-+
Counts
4 → 60
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
2.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series211.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
47.0ms
(- (* b b) (* (* 3.0 a) c))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
67.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0307469
11303428
25001417

prune183.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 13.0b

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
4.6b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.6b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
26.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series430.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (* b b) (* (* 3.0 a) c))
141.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
173.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify109.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06352579
131252333
250012320

prune420.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 12.0b

localize27.0ms

Local error

Found 4 expressions with local error:

13.9b
(cbrt (+ 0 (* 3.0 (* a c))))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite13.0ms

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

series319.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0259537
11023510
25001498

prune409.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 12.0b

localize19.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (* b b) (- 0 (* 3.0 (* a c))))
4.6b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (+ (* b b) (- 0 (* 3.0 (* a c))))))) (* 3.0 a))
9.6b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (+ (* b b) (- 0 (* 3.0 (* a c)))))))
22.7b
(sqrt (+ (* b b) (- 0 (* 3.0 (* a c)))))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
add-log-exp
associate-/r*
cbrt-undiv div-exp
associate-/r/
pow1
div-inv
flip3-- flip3-+ flip-- flip-+ associate-/l/
associate-+r+ frac-2neg sub0-neg sqrt-div prod-exp clear-num sum-log cbrt-unprod
+-commutative associate-+r- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log unsub-neg
Counts
4 → 153
Calls
4 calls:
6.0ms
(+ (* b b) (- 0 (* 3.0 (* a c))))
72.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (+ (* b b) (- 0 (* 3.0 (* a c))))))) (* 3.0 a))
44.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (+ (* b b) (- 0 (* 3.0 (* a c)))))))
9.0ms
(sqrt (+ (* b b) (- 0 (* 3.0 (* a c)))))

series457.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(+ (* b b) (- 0 (* 3.0 (* a c))))
152.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (+ (* b b) (- 0 (* 3.0 (* a c))))))) (* 3.0 a))
187.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (+ (* b b) (- 0 (* 3.0 (* a c)))))))
73.0ms
(sqrt (+ (* b b) (- 0 (* 3.0 (* a c)))))

simplify117.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06442793
131212522
250022507

prune409.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 12.0b

regimes409.0ms

Accuracy

94.7% (1.1b remaining)

Error of 12.4b against oracle of 11.3b and baseline of 31.7b

bsearch219.0ms

Steps
ItersRangePoint
6
5.779436182351587e+124
6.964873849469576e+125
6.771165814787109e+125
8
3.5242701449549723e-134
2.7035586924523766e-131
1.381900373008268e-133
12
-7.927726045730789e+181
-4.544878892552954e+140
-1.3379185299605649e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05336
15936
26536
36536

end0.0ms

sample1.7s

Algorithm
intervals
Results
391.0ms5746×body80valid
382.0ms1107×body2560valid
260.0ms929×body1280valid
180.0ms2804×body80nan
107.0ms479×body640valid
44.0ms106×body5120valid
36.0ms215×body320valid
14.0ms118×body160valid