Details

Time bar (total: 17.5s)

sample74.0ms

Algorithm
intervals
Results
27.0ms256×body80valid
16.0ms236×body80nan

simplify65.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune18.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 19.1b

localize21.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))))

rewrite46.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:
41.0ms
(* x (+ y z))
1.0ms
(fma y z (* x (+ y z)))
3.0ms
(sqrt (fma y z (* x (+ y z))))

series226.0ms

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

simplify2.1s

Counts
59 → 59
Iterations

Useful iterations: done (2.1s)

IterNodesCost
091581
1220532
2621483
32012479
done5000478

prune261.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 19.0b

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

series261.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(fma y z (+ (* x y) (* x z)))
40.0ms
(+ (* x y) (* x z))
187.0ms
(sqrt (fma y z (+ (* x y) (* x z))))

simplify2.7s

Counts
49 → 49
Iterations

Useful iterations: done (2.7s)

IterNodesCost
075620
1199478
2623437
32176432
done5000430

prune179.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 19.0b

localize20.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))))

series378.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(fma y z (* x (+ y z)))
25.0ms
(fma y z (* x (+ y z)))
163.0ms
(sqrt (fma y z (* x (+ y z))))
154.0ms
(sqrt (fma y z (* x (+ y z))))

simplify2.8s

Counts
62 → 62
Iterations

Useful iterations: 4 (1.5s)

IterNodesCost
051750
1106674
2243616
3749608
43241602
done5000602

prune364.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 19.0b

localize58.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))))

series910.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(fma y z (* x (+ y z)))
192.0ms
(sqrt (fma y z (* x (+ y z))))
360.0ms
(cbrt (fma y z (* x (+ y z))))
323.0ms
(cbrt (fma y z (* x (+ y z))))

simplify4.2s

Counts
63 → 63
Iterations

Useful iterations: 4 (2.6s)

IterNodesCost
082801
1176757
2393690
31127676
44214657
done5000657

prune493.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 19.0b

regimes172.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 (1.0ms)

IterNodesCost
01013
11413
done1413

end0.0ms

sample2.1s

Algorithm
intervals
Results
686.0ms8000×body80valid
636.0ms7981×body80nan