Details

Time bar (total: 16.0s)

sample39.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
9.0ms236×body80nan

simplify57.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 19.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
0.8b
(fma y z (* x (+ y z)))
18.0b
(sqrt (fma y z (* x (+ y z))))

rewrite23.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:
20.0ms
(* x (+ y z))
0.0ms
(fma y z (* x (+ y z)))
2.0ms
(sqrt (fma y z (* x (+ y z))))

series198.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* x (+ y z))
28.0ms
(fma y z (* x (+ y z)))
132.0ms
(sqrt (fma y z (* x (+ y z))))

simplify1.8s

Counts
59 → 59
Iterations

Useful iterations: done (1.8s)

IterNodesCost
091581
1220532
2621483
32012479
done5000478

prune222.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.0b

localize23.0ms

Local error

Found 3 expressions with local error:

0.8b
(fma y z (+ (* x y) (* x z)))
1.0b
(+ (* x y) (* x z))
18.0b
(sqrt (fma y z (+ (* x y) (* x z))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u sqrt-prod add-cbrt-cube log1p-expm1-u
+-commutative rem-sqrt-square fma-def sqrt-pow1 flip3-+ pow1/2 sum-log flip-+ fma-udef distribute-lft-out
Counts
3 → 40
Calls
3 calls:
1.0ms
(fma y z (+ (* x y) (* x z)))
16.0ms
(+ (* x y) (* x z))
3.0ms
(sqrt (fma y z (+ (* x y) (* x z))))

series227.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(fma y z (+ (* x y) (* x z)))
58.0ms
(+ (* x y) (* x z))
138.0ms
(sqrt (fma y z (+ (* x y) (* x z))))

simplify2.4s

Counts
49 → 49
Iterations

Useful iterations: done (2.4s)

IterNodesCost
075620
1199478
2623437
32176432
done5000430

prune183.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 19.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite5.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 y z (* x (+ y z)))
0.0ms
(fma y z (* x (+ y z)))
2.0ms
(sqrt (fma y z (* x (+ y z))))
2.0ms
(sqrt (fma y z (* x (+ y z))))

series337.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(fma y z (* x (+ y z)))
28.0ms
(fma y z (* x (+ y z)))
131.0ms
(sqrt (fma y z (* x (+ y z))))
152.0ms
(sqrt (fma y z (* x (+ y z))))

simplify2.6s

Counts
62 → 62
Iterations

Useful iterations: 4 (1.4s)

IterNodesCost
051750
1106674
2243616
3749608
43241602
done5000602

prune325.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 19.0b

localize51.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma y z (* x (+ y z)))
18.0b
(sqrt (fma y z (* x (+ y z))))
18.5b
(cbrt (fma y z (* x (+ y z))))
18.5b
(cbrt (fma y z (* x (+ y z))))

rewrite9.0ms

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

series888.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(fma y z (* x (+ y z)))
149.0ms
(sqrt (fma y z (* x (+ y z))))
322.0ms
(cbrt (fma y z (* x (+ y z))))
389.0ms
(cbrt (fma y z (* x (+ y z))))

simplify3.5s

Counts
63 → 63
Iterations

Useful iterations: 4 (2.0s)

IterNodesCost
082801
1176757
2393690
31127676
44214657
done5000657

prune367.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 19.0b

regimes197.0ms

Accuracy

0% (0.1b remaining)

Error of 19.8b against oracle of 19.7b and baseline of 19.8b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11413
done1413

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.0s7981×body80nan
679.0ms8000×body80valid