Details

Time bar (total: 4.5s)

sample38.0ms

Algorithm
intervals
Results
7.0ms35×body2560valid
7.0ms197×body80valid
5.0ms28×body1280valid
3.0ms90×body80nan
2.0ms13×body640valid
1.0ms11×body320valid
1.0msbody5120valid
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: 34.7b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series226.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 3.0 a) c)
84.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))
49.0ms
(- (* b b) (* (* 3.0 a) c))
72.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify48.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0337531
11440479
25002467

prune259.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 10.7b

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b b) (* (* 3.0 a) c))
10.0b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
22.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.8b
(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:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.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)))

series273.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0279732
11153610
25001597

prune304.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 10.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- b))
1.2b
(- (* b b) (* (* 3.0 a) c))
22.0b
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×cbrt-prod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-log-exp
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
flip3-- sqrt-div flip--
neg-mul-1 sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg pow1/3 diff-log prod-diff fma-udef
Counts
4 → 63
Calls
4 calls:
2.0ms
(cbrt (- b))
4.0ms
(- (* b b) (* (* 3.0 a) c))
1.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series474.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt (- b))
50.0ms
(- (* b b) (* (* 3.0 a) c))
155.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (sqrt (- (* b b) (* (* 3.0 a) c))))
75.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify99.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0248556
1816502
23444487
35002482

prune265.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 10.7b

localize19.0ms

Local error

Found 4 expressions with local error:

22.2b
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (* (* (cbrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
22.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))
22.8b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
fma-udef
Counts
4 → 61
Calls
4 calls:
1.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (* (* (cbrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))) (cbrt (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)))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (* (* (cbrt (sqrt (- (* b b) (* (* 3.0 a) c)))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))) (cbrt (sqrt (- (* b b) (* (* 3.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))
73.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0177813
1589736
22437709
35002670

prune306.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 10.7b

regimes332.0ms

Accuracy

86.6% (3.1b remaining)

Error of 15.1b against oracle of 12.0b and baseline of 34.9b

bsearch126.0ms

Steps
ItersRangePoint
9
3.2956103981062554e-86
3.6842556330088986e-79
3.6227398529818415e-79
10
-5.288637106878427e+83
-2.355035228211621e+66
-2.4276688444363324e+79

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03628
13628

end0.0ms

sample1.1s

Algorithm
intervals
Results
225.0ms1081×body2560valid
211.0ms5782×body80valid
163.0ms927×body1280valid
109.0ms2977×body80nan
60.0ms451×body640valid
27.0ms104×body5120valid
26.0ms257×body320valid
8.0ms124×body160valid