Details

Time bar (total: 5.4s)

sample39.0ms

Algorithm
intervals
Results
7.0ms35×body2560valid
6.0ms181×body80valid
6.0ms33×body1280valid
3.0ms92×body80nan
2.0ms17×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.8b
(- (* b b) (* (* 3.0 a) c))
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
14.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
4.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
44.0ms
(- (* b b) (* (* 3.0 a) c))
74.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
63.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0433855
11670751
25001736

prune279.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 7.0b

localize17.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.2b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
11.7b
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
124×*-un-lft-identity
90×times-frac
80×add-cube-cbrt
60×prod-diff
44×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-exp-log add-cbrt-cube
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
pow1 flip3-- flip--
expm1-log1p-u log1p-expm1-u 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 → 232
Calls
4 calls:
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series445.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
138.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
166.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify139.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08255119
137383863
250013860

prune526.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.9b

localize18.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
1.6b
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
16.1b
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
190×add-sqr-sqrt
188×times-frac
163×*-un-lft-identity
121×add-cube-cbrt
94×add-exp-log
85×associate-*r*
61×prod-diff
58×add-cbrt-cube
49×div-exp
43×sqrt-prod
31×distribute-rgt-neg-in
27×cbrt-undiv
26×associate-*l*
25×prod-exp
21×distribute-lft-neg-in
20×distribute-lft-out-- difference-of-squares
15×cbrt-unprod
11×fma-neg
10×add-log-exp
div-inv unswap-sqr
pow1 neg-mul-1 associate-/r/
flip3-- flip--
expm1-log1p-u rec-exp 1-exp log1p-expm1-u
diff-log
sub-neg sqrt-div
associate--l- neg-sub0 frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ *-commutative
Counts
4 → 288
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
10.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
59.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (* b b) (* (* 3.0 a) c))
72.0ms
(- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
153.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
300 → 300
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
015105648
150024129

prune606.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 6.9b

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))
23.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
20×fma-def *-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt add-log-exp
distribute-rgt-neg-in
pow1 distribute-lft-neg-in sqrt-prod
add-exp-log expm1-log1p-u sqrt-div sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 neg-log flip-- flip-+
Counts
4 → 88
Calls
4 calls:
8.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
8.0ms
(+ (- b) (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)))

series287.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0234668
1888610
23709588
35001584

prune342.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 6.9b

regimes279.0ms

Accuracy

85.5% (4.4b remaining)

Error of 10.1b against oracle of 5.7b and baseline of 36.1b

bsearch205.0ms

Steps
ItersRangePoint
9
1.4411111155905935e-45
3.477369949839467e-39
8.172328003229442e-43
7
4.5889784209003685e-58
1.26880125744389e-56
8.284843074981433e-57
9
1.6136504421647031e-96
5.650527849255048e-90
2.0821834876358133e-90
7
-4.5555429976450076e+126
-1.4509995558059801e+125
-1.2448541423515275e+126

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04339
14639
24939
34939

end0.0ms

sample1.1s

Algorithm
intervals
Results
232.0ms1057×body2560valid
219.0ms5836×body80valid
153.0ms878×body1280valid
97.0ms2892×body80nan
67.0ms459×body640valid
35.0ms135×body5120valid
25.0ms245×body320valid
7.0ms96×body160valid