Details

Time bar (total: 4.7s)

sample63.0ms

Algorithm
intervals
Results
17.0ms194×body80valid
9.0ms30×body2560valid
8.0ms100×body80nan
7.0ms28×body1280valid
3.0ms14×body640valid
1.0msbody320valid
1.0msbody5120valid
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: 34.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 3.0 a) c)
1.2b
(- (* b b) (* (* 3.0 a) c))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(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)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
45.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
65.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify41.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0307469
11303428
25001417

prune205.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 12.2b

localize25.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.8b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.8b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
11.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
42.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
36.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
6.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
140.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
169.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06472692
131142439
250012426

prune462.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 10.9b

localize16.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
1.4b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
14.0b
(/ (* 3.0 a) (* 3.0 (* a c)))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite27.0ms

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

series204.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
11.0ms
(/ (* 3.0 a) (* 3.0 (* a c)))
71.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0417636
12439522
25001492

prune223.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 8.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 3.0 a) c)
1.2b
(- (* b b) (* (* 3.0 a) c))
1.4b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt
sqrt-prod
flip3-- diff-log associate-*r* pow-prod-down prod-exp flip-- cbrt-unprod
sub-neg sqrt-div distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 associate-*l* neg-log *-commutative
Counts
4 → 63
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
2.0ms
(- (* b b) (* (* 3.0 a) c))
12.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:
23.0ms
(* (* 3.0 a) c)
43.0ms
(- (* b b) (* (* 3.0 a) c))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0298517
11262478
25001471

prune183.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 7.9b

regimes341.0ms

Accuracy

78.6% (4.8b remaining)

Error of 12.5b against oracle of 7.8b and baseline of 30.0b

bsearch125.0ms

Steps
ItersRangePoint
5
3.0336165705843857e+124
7.533619617198572e+124
5.486208249157789e+124
10
-2.4076762225838956e-89
-7.528955394503449e-103
-3.581294904804354e-96

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04428
14628
24628

end0.0ms

sample1.5s

Algorithm
intervals
Results
398.0ms5935×body80valid
268.0ms1018×body2560valid
191.0ms2907×body80nan
190.0ms882×body1280valid
78.0ms435×body640valid
38.0ms252×body320valid
36.0ms116×body5120valid
11.0ms106×body160valid