Details

Time bar (total: 12.5s)

sample54.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
12.0ms236×body80nan

simplify94.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01114
12212
24411
36411
46911
57011
done7011

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 21.4b

localize24.0ms

Local error

Found 3 expressions with local error:

1.6b
(+ (* x y) (* x z))
1.8b
(+ (+ (* x y) (* x z)) (* y z))
20.1b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def *-un-lft-identity
pow1 sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div distribute-lft-out
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
3 → 51
Calls
3 calls:
9.0ms
(+ (* x y) (* x z))
54.0ms
(+ (+ (* x y) (* x z)) (* y z))
80.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series256.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(+ (* x y) (* x z))
40.0ms
(+ (+ (* x y) (* x z)) (* y z))
174.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify1.3s

Counts
60 → 60
Iterations

Useful iterations: done (1.3s)

IterNodesCost
092853
1275652
21070584
done5001573

prune708.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 21.3b

localize19.0ms

Local error

Found 3 expressions with local error:

1.6b
(+ (* x y) (* x z))
1.8b
(+ (* y z) (+ (* x y) (* x z)))
20.1b
(sqrt (+ (* y z) (+ (* x y) (* x z))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative fma-def sqrt-div
rem-sqrt-square associate-+r+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 48
Calls
3 calls:
12.0ms
(+ (* x y) (* x z))
21.0ms
(+ (* y z) (+ (* x y) (* x z)))
34.0ms
(sqrt (+ (* y z) (+ (* x y) (* x z))))

series292.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(+ (* x y) (* x z))
43.0ms
(+ (* y z) (+ (* x y) (* x z)))
187.0ms
(sqrt (+ (* y z) (+ (* x y) (* x z))))

simplify1.2s

Counts
57 → 57
Iterations

Useful iterations: done (1.2s)

IterNodesCost
092853
1281616
21236584
done5001582

prune266.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 21.3b

localize24.0ms

Local error

Found 4 expressions with local error:

1.5b
(fma x z (* y (+ z x)))
1.5b
(fma x z (* y (+ z x)))
20.1b
(sqrt (fma x z (* y (+ z x))))
20.1b
(sqrt (fma x z (* y (+ z x))))

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

series459.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(fma x z (* y (+ z x)))
47.0ms
(fma x z (* y (+ z x)))
196.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
1104674
2268616
31472608
done5000602

prune377.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 21.3b

localize47.0ms

Local error

Found 4 expressions with local error:

20.1b
(sqrt (* (* (cbrt (fma x z (* y (+ z x)))) (cbrt (fma x z (* y (+ z x))))) (cbrt (fma x z (* y (+ z x))))))
20.8b
(cbrt (fma x z (* y (+ z x))))
20.8b
(cbrt (fma x z (* y (+ z x))))
20.8b
(cbrt (fma x z (* y (+ z x))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×pow1
15×sqrt-pow1
12×pow1/3
cbrt-prod pow-prod-up
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 65
Calls
4 calls:
28.0ms
(sqrt (* (* (cbrt (fma x z (* y (+ z x)))) (cbrt (fma x z (* y (+ z x))))) (cbrt (fma x z (* y (+ z x))))))
2.0ms
(cbrt (fma x z (* y (+ z x))))
2.0ms
(cbrt (fma x z (* y (+ z x))))
2.0ms
(cbrt (fma x z (* y (+ z x))))

series1.4s

Counts
4 → 12
Calls
4 calls:
231.0ms
(sqrt (* (* (cbrt (fma x z (* y (+ z x)))) (cbrt (fma x z (* y (+ z x))))) (cbrt (fma x z (* y (+ z x))))))
408.0ms
(cbrt (fma x z (* y (+ z x))))
360.0ms
(cbrt (fma x z (* y (+ z x))))
391.0ms
(cbrt (fma x z (* y (+ z x))))

simplify1.1s

Counts
77 → 77
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0891169
11921047
2380776
31289727
done5000700

prune409.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 21.3b

regimes156.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11714
done1714

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.1s8000×body80valid
753.0ms8127×body80nan