Details

Time bar (total: 5.2s)

sample61.0ms

Algorithm
intervals
Results
15.0ms194×body80valid
9.0ms30×body2560valid
7.0ms100×body80nan
7.0ms28×body1280valid
4.0msbody320valid
3.0ms14×body640valid
1.0msbody5120valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 4.0 a) c)
1.2b
(- (* b b) (* (* 4.0 a) c))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.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:
7.0ms
(* (* 4.0 a) c)
3.0ms
(- (* b b) (* (* 4.0 a) c))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* 4.0 a) c)
43.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify46.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337530
11440479
25002467

prune282.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
1.2b
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
23.0b
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-sqr-sqrt fma-def add-log-exp
add-cube-cbrt
pow1
add-exp-log expm1-log1p-u distribute-rgt-neg-in add-cbrt-cube log1p-expm1-u
cbrt-prod distribute-lft-neg-in sqrt-prod
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 pow1/3 diff-log prod-diff neg-log flip-+
Counts
4 → 73
Calls
4 calls:
1.0ms
(cbrt c)
3.0ms
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
5.0ms
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

series450.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt c)
74.0ms
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))
108.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c)))))
90.0ms
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (cbrt c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0308851
11236747
25001690

prune293.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.2b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt c)
1.2b
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))
1.9b
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
23.0b
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-sqr-sqrt fma-def add-log-exp
add-cube-cbrt
pow1
add-exp-log expm1-log1p-u distribute-rgt-neg-in add-cbrt-cube log1p-expm1-u
cbrt-prod distribute-lft-neg-in sqrt-prod
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 pow1/3 diff-log prod-diff neg-log flip-+
Counts
4 → 73
Calls
4 calls:
0.0ms
(cbrt c)
3.0ms
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))
12.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
5.0ms
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

series429.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt c)
65.0ms
(- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))
96.0ms
(+ (- b) (sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c)))))))
87.0ms
(sqrt (- (* b b) (* (* (* 4.0 a) (* (cbrt c) (cbrt c))) (* (* (cbrt (cbrt c)) (cbrt (cbrt c))) (cbrt (cbrt c))))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03201340
113501203
250021083

prune345.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 12.2b

localize19.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 4.0 a) c))
9.5b
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
23.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))
23.7b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
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 flip--
pow1/3 sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg flip3-+ fma-neg diff-log prod-diff neg-log flip-+
Counts
4 → 71
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
2.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series458.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* b b) (* (* 4.0 a) c))
83.0ms
(+ (- b) (* (fabs (cbrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (cbrt (- (* b b) (* (* 4.0 a) c))))))
234.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0366848
11529765
25002749

prune326.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 12.2b

regimes187.0ms

Accuracy

84.8% (3.4b remaining)

Error of 15.4b against oracle of 12.0b and baseline of 34.3b

bsearch158.0ms

Steps
ItersRangePoint
10
7.948130497386624e-31
1.6081733637561173e-14
5.082297393178073e-29
9
-2.2154171522802282e+61
-2.0511250318755918e+53
-2.0697892322852844e+57

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03925
13925

end0.0ms

sample1.6s

Algorithm
intervals
Results
446.0ms5937×body80valid
293.0ms1019×body2560valid
212.0ms879×body1280valid
205.0ms2907×body80nan
86.0ms438×body640valid
42.0ms116×body5120valid
40.0ms250×body320valid
12.0ms106×body160valid