Details

Time bar (total: 18.7s)

sample49.0ms

Algorithm
intervals
Results
23.0ms413×body80valid

simplify78.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (25.0ms)

IterNodesCost
0815
11614
23311
3568
4748
5808
done808

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (* z z))
0.0b
(+ (+ (* x y) (* z z)) (* z z))
0.1b
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

rewrite213.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
3 → 51
Calls
3 calls:
18.0ms
(+ (* x y) (* z z))
50.0ms
(+ (+ (* x y) (* z z)) (* z z))
144.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series182.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (* x y) (* z z))
80.0ms
(+ (+ (* x y) (* z z)) (* z z))
62.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify3.2s

Counts
60 → 60
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
076863
1228666
2839590
33573521
done5000521

prune224.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (* z z) (* x y))

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
1 → 10
Calls
1 calls:
1.0ms
(fma 3 (* z z) (* x y))

series59.0ms

Counts
1 → 3
Calls
1 calls:
58.0ms
(fma 3 (* z z) (* x y))

simplify3.9s

Counts
13 → 13
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
021140
133137
269121
3207121
4706121
53689121
done5000121

prune36.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x y) (* z z)) (* z z))
0.3b
(fma (sqrt (+ (+ (* x y) (* z z)) (* z z))) (sqrt (+ (+ (* x y) (* z z)) (* z z))) (* z z))
2.1b
(sqrt (+ (+ (* x y) (* z z)) (* z z)))
2.1b
(sqrt (+ (+ (* x y) (* z z)) (* z z)))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
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
fma-def flip3-+ sum-log flip-+
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def
+-commutative associate-+l+ fma-udef
Counts
4 → 64
Calls
4 calls:
40.0ms
(+ (+ (* x y) (* z z)) (* z z))
0.0ms
(fma (sqrt (+ (+ (* x y) (* z z)) (* z z))) (sqrt (+ (+ (* x y) (* z z)) (* z z))) (* z z))
52.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))
39.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))

series621.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(+ (+ (* x y) (* z z)) (* z z))
273.0ms
(fma (sqrt (+ (+ (* x y) (* z z)) (* z z))) (sqrt (+ (+ (* x y) (* z z)) (* z z))) (* z z))
154.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))
128.0ms
(sqrt (+ (+ (* x y) (* z z)) (* z z)))

simplify2.2s

Counts
76 → 76
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0851406
1205945
2656793
32755740
done5000737

prune431.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 3 (* z z) (* x y))
0.3b
(* (sqrt (fma 3 (* z z) (* x y))) (sqrt (fma 3 (* z z) (* x y))))
2.0b
(sqrt (fma 3 (* z z) (* x y)))
2.0b
(sqrt (fma 3 (* z z) (* x y)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
0.0ms
(fma 3 (* z z) (* x y))
22.0ms
(* (sqrt (fma 3 (* z z) (* x y))) (sqrt (fma 3 (* z z) (* x y))))
3.0ms
(sqrt (fma 3 (* z z) (* x y)))
3.0ms
(sqrt (fma 3 (* z z) (* x y)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(fma 3 (* z z) (* x y))
73.0ms
(* (sqrt (fma 3 (* z z) (* x y))) (sqrt (fma 3 (* z z) (* x y))))
166.0ms
(sqrt (fma 3 (* z z) (* x y)))
165.0ms
(sqrt (fma 3 (* z z) (* x y)))

simplify4.8s

Counts
103 → 103
Iterations

Useful iterations: 4 (2.5s)

IterNodesCost
0761776
11311211
23491097
312221052
444901020
done50001020

prune298.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes206.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
11215
done1215

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.0s12223×body80valid