Details

Time bar (total: 4.1s)

sample38.0ms

Algorithm
intervals
Results
9.0ms40×body2560valid
7.0ms194×body80valid
5.0ms28×body1280valid
3.0ms76×body80nan
1.0ms10×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.4b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite51.0ms

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

series241.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0403683
11865595
25002592

prune231.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.4b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite25.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:
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
7.0ms
(* (* 3.0 a) c)
2.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
24.0ms
(* (* 3.0 a) c)
43.0ms
(- (* b b) (* (* 3.0 a) c))
70.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0307469
11303428
25001417

prune191.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 5.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* 3.0 a) (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite40.0ms

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

series334.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(/ (* 3.0 a) (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
20.0ms
(* (* 3.0 a) c)
48.0ms
(- (* b b) (* (* 3.0 a) c))
68.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0368654
11833565
25001559

prune215.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 5.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.4b
(* (* 3.0 a) c)
0.4b
(- (* b b) (* (* 3.0 a) c))
24.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.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:
15.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
6.0ms
(* (* 3.0 a) c)
2.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series216.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0307470
11303428
25001417

prune173.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 5.6b

regimes494.0ms

Accuracy

89.5% (3.0b remaining)

Error of 8.8b against oracle of 5.8b and baseline of 34.3b

bsearch195.0ms

Steps
ItersRangePoint
8
1.5276508475467709e+44
4.1560730947117816e+46
6.827923207407828e+44
9
9.738150321786022e-203
8.653734362945753e-196
2.5319914608763346e-199
11
-1.829086240692416e+154
-2.187052964502477e+134
-8.555281377770497e+140

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05130
15330
25330

end0.0ms

sample1.1s

Algorithm
intervals
Results
239.0ms1105×body2560valid
225.0ms5867×body80valid
164.0ms909×body1280valid
106.0ms2861×body80nan
63.0ms422×body640valid
26.0ms96×body5120valid
23.0ms214×body320valid
8.0ms119×body160valid