Details

Time bar (total: 19.8s)

sample53.0ms

Algorithm
intervals
Results
30.0ms626×body80valid

simplify6.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
01217
12616
25015
38615
415115
530315
693215
7396115
done500115

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
0.0b
(+ (* a a) (* b b))
0.0b
(* 4.0 (* b b))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite194.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-cbrt-cube
fma-def add-log-exp
unpow-prod-down
expm1-log1p-u log1p-expm1-u
pow-unpow associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ sum-log flip-+ sqr-pow
pow-to-exp pow-pow associate-*r* pow-exp *-commutative unswap-sqr
Counts
4 → 74
Calls
4 calls:
132.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
17.0ms
(+ (* a a) (* b b))
18.0ms
(* 4.0 (* b b))
23.0ms
(pow (+ (* a a) (* b b)) 2.0)

series411.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (* b b)))
58.0ms
(+ (* a a) (* b b))
47.0ms
(* 4.0 (* b b))
190.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify2.6s

Counts
86 → 86
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01251011
1329844
21050772
33524764
done5000764

prune332.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (* 2 a) a (* b b))
0.1b
(fma (* b b) (fma (* 2 a) a (* b b)) (pow a 4))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma (* 2 a) a (* b b))
0.0ms
(fma (* b b) (fma (* 2 a) a (* b b)) (pow a 4))

series150.0ms

Counts
2 → 6
Calls
2 calls:
80.0ms
(fma (* 2 a) a (* b b))
70.0ms
(fma (* b b) (fma (* 2 a) a (* b b)) (pow a 4))

simplify2.7s

Counts
26 → 26
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
040395
175392
2186340
3652340
43424340
done5000340

prune163.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (fma (* (* a a) (* b b)) 2.0 (pow b 4)) (* 4.0 (* b b)))
0.0b
(fma (* (* a a) (* b b)) 2.0 (pow b 4))
0.0b
(* 4.0 (* b b))
3.1b
(* (* a a) (* b b))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
37×pow1
21×add-exp-log add-cbrt-cube
17×pow-prod-down
11×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
expm1-log1p-u pow-plus associate-*l* pow-prod-up log1p-expm1-u
fma-def
pow2 associate-*r* pow-sqr *-commutative fma-udef unswap-sqr
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
4 → 79
Calls
4 calls:
15.0ms
(+ (fma (* (* a a) (* b b)) 2.0 (pow b 4)) (* 4.0 (* b b)))
1.0ms
(fma (* (* a a) (* b b)) 2.0 (pow b 4))
44.0ms
(* 4.0 (* b b))
43.0ms
(* (* a a) (* b b))

series272.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(+ (fma (* (* a a) (* b b)) 2.0 (pow b 4)) (* 4.0 (* b b)))
92.0ms
(fma (* (* a a) (* b b)) 2.0 (pow b 4))
54.0ms
(* 4.0 (* b b))
39.0ms
(* (* a a) (* b b))

simplify3.6s

Counts
91 → 91
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01071136
12571045
2895891
33841823
done5000823

prune232.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes119.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01217
11517
done1517

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.9s20293×body80valid