Details

Time bar (total: 13.1s)

sample70.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
18.0ms251×body80nan

simplify88.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.9b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.0b
(fma y z (* x (+ y z)))
18.8b
(sqrt (fma y z (* x (+ y z))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l* sqrt-prod log1p-expm1-u add-log-exp
associate-*r/
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 flip3-+ pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef distribute-lft-out unswap-sqr
Counts
3 → 50
Calls
3 calls:
40.0ms
(* x (+ y z))
0.0ms
(fma y z (* x (+ y z)))
3.0ms
(sqrt (fma y z (* x (+ y z))))

series216.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* x (+ y z))
25.0ms
(fma y z (* x (+ y z)))
162.0ms
(sqrt (fma y z (* x (+ y z))))

simplify1.7s

Counts
59 → 59
Iterations

Useful iterations: done (1.7s)

IterNodesCost
091581
1220532
2621483
32012479
done5000478

prune271.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.8b

localize17.0ms

Local error

Found 2 expressions with local error:

0.8b
(fma x z (* y (+ z x)))
18.8b
(sqrt (fma x z (* y (+ z x))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
2 → 25
Calls
2 calls:
0.0ms
(fma x z (* y (+ z x)))
3.0ms
(sqrt (fma x z (* y (+ z x))))

series196.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(fma x z (* y (+ z x)))
163.0ms
(sqrt (fma x z (* y (+ z x))))

simplify1.4s

Counts
31 → 31
Iterations

Useful iterations: done (1.4s)

IterNodesCost
050375
1103337
2261308
3990304
done5000301

prune132.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 19.8b

localize22.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma x z (* y (+ z x)))
0.8b
(fma x z (* y (+ z x)))
18.8b
(sqrt (fma x z (* y (+ z x))))
18.8b
(sqrt (fma x z (* y (+ z x))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 50
Calls
4 calls:
0.0ms
(fma x z (* y (+ z x)))
0.0ms
(fma x z (* y (+ z x)))
2.0ms
(sqrt (fma x z (* y (+ z x))))
2.0ms
(sqrt (fma x z (* y (+ z x))))

series350.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(fma x z (* y (+ z x)))
25.0ms
(fma x z (* y (+ z x)))
135.0ms
(sqrt (fma x z (* y (+ z x))))
164.0ms
(sqrt (fma x z (* y (+ z x))))

simplify1.4s

Counts
62 → 62
Iterations

Useful iterations: done (1.4s)

IterNodesCost
050750
1103674
2261616
3990608
done5000602

prune304.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 19.8b

localize24.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ y z))
0.5b
(cbrt (+ y z))
1.0b
(fma y z (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))))
18.8b
(sqrt (fma y z (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
cbrt-prod add-sqr-sqrt
add-cube-cbrt
pow1
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-prod
flip3-+ pow1/3 flip-+ distribute-lft-out
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 57
Calls
4 calls:
4.0ms
(cbrt (+ y z))
4.0ms
(cbrt (+ y z))
0.0ms
(fma y z (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))))
2.0ms
(sqrt (fma y z (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z)))))

series567.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt (+ y z))
161.0ms
(cbrt (+ y z))
51.0ms
(fma y z (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))))
181.0ms
(sqrt (fma y z (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z)))))

simplify3.2s

Counts
69 → 69
Iterations

Useful iterations: 4 (1.7s)

IterNodesCost
01051047
1232965
2530687
31369600
44267593
done5000593

prune348.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 19.7b

regimes181.0ms

Accuracy

0% (0.1b remaining)

Error of 20.2b against oracle of 20.1b and baseline of 20.2b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11211
done1211

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.0s8000×body80valid
684.0ms7780×body80nan