Details

Time bar (total: 4.1s)

sample35.0ms

Algorithm
intervals
Results
7.0ms201×body80valid
5.0ms31×body1280valid
4.0ms21×body2560valid
3.0ms103×body80nan
2.0ms13×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0229
1439
2839
31109
41189
51189

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
1.0b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.2b
(- (* b b) (* (* 3.0 a) c))
19.5b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×pow1 add-sqr-sqrt fma-def add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u
distribute-lft-neg-in 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- neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*l* prod-diff neg-log *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
6.0ms
(* (* 3.0 a) c)
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series208.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0337530
11440479
25002467

prune253.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
1.0b
(+ (- b) (sqrt (- (* b b) (pow (* 3.0 (* a c)) 1))))
1.2b
(- (* b b) (pow (* 3.0 (* a c)) 1))
19.5b
(sqrt (- (* b b) (pow (* 3.0 (* a c)) 1)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
13×add-sqr-sqrt
10×pow1 add-cube-cbrt fma-def add-log-exp
add-exp-log add-cbrt-cube
prod-diff sqrt-prod
expm1-log1p-u distribute-rgt-neg-in log1p-expm1-u difference-of-squares
distribute-lft-neg-in associate-*l* pow-prod-down prod-exp cbrt-unprod sqr-pow
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg unpow-prod-down rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log associate-*r* neg-log *-commutative flip-+
Counts
4 → 88
Calls
4 calls:
6.0ms
(* 3.0 (* a c))
16.0ms
(+ (- b) (sqrt (- (* b b) (pow (* 3.0 (* a c)) 1))))
4.0ms
(- (* b b) (pow (* 3.0 (* a c)) 1))
7.0ms
(sqrt (- (* b b) (pow (* 3.0 (* a c)) 1)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* 3.0 (* a c))
75.0ms
(+ (- b) (sqrt (- (* b b) (pow (* 3.0 (* a c)) 1))))
42.0ms
(- (* b b) (pow (* 3.0 (* a c)) 1))
68.0ms
(sqrt (- (* b b) (pow (* 3.0 (* a c)) 1)))

simplify63.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0395716
11664591
25001580

prune269.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.9b

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
11.0b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
19.5b
(sqrt (- (* b b) (* (* 3.0 a) c)))
19.5b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite19.0ms

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

series254.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0279732
11153610
25001597

prune321.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 10.9b

localize20.0ms

Local error

Found 4 expressions with local error:

11.0b
(+ (- b) (* (sqrt (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
19.5b
(sqrt (- (* b b) (* (* 3.0 a) c)))
20.3b
(cbrt (- (* b b) (* (* 3.0 a) c)))
20.3b
(cbrt (- (* b b) (* (* 3.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-cube-cbrt fma-def *-un-lft-identity
add-log-exp
cbrt-prod
pow1
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in flip3-- distribute-rgt-neg-in sqrt-prod flip--
pow1/3 sqrt-div sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 72
Calls
4 calls:
6.0ms
(+ (- b) (* (sqrt (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
2.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

series351.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (- b) (* (sqrt (* (fabs (cbrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 3.0 a) c)))))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
69.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
94.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))
94.0ms
(cbrt (- (* b b) (* (* 3.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03511045
11300935
25001925

prune397.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 10.9b

regimes302.0ms

Accuracy

80.8% (4.1b remaining)

Error of 16.8b against oracle of 12.7b and baseline of 34.1b

bsearch60.0ms

Steps
ItersRangePoint
4
2.3785453177033023e+38
3.3068646783697877e+38
2.4075552977241297e+38
4
-2.4628825350256635e+163
-1.5405955983178716e+163
-1.5694170650899903e+163

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03923
13923

end0.0ms

sample1.1s

Algorithm
intervals
Results
223.0ms1100×body2560valid
205.0ms5848×body80valid
158.0ms920×body1280valid
95.0ms2886×body80nan
63.0ms452×body640valid
28.0ms103×body5120valid
24.0ms228×body320valid
8.0ms122×body160valid