Details

Time bar (total: 21.0s)

sample48.0ms

Algorithm
intervals
Results
12.0ms258×body80nan
12.0ms256×body80valid

simplify89.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01114
12212
24411
36311
46711
56811
done6811

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.8b

localize12.0ms

Local error

Found 3 expressions with local error:

1.6b
(+ (* x y) (* x z))
2.2b
(+ (+ (* x y) (* x z)) (* y z))
21.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite548.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:
441.0ms
(+ (* x y) (* x z))
55.0ms
(+ (+ (* x y) (* x z)) (* y z))
51.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series263.0ms

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

simplify3.7s

Counts
60 → 60
Iterations

Useful iterations: done (3.7s)

IterNodesCost
092853
1271652
2970584
34050573
done5000572

prune289.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 22.7b

localize36.0ms

Local error

Found 4 expressions with local error:

1.0b
(fma z x (* y (+ z x)))
1.0b
(fma z x (* y (+ z x)))
21.5b
(sqrt (fma z x (* y (+ z x))))
21.5b
(sqrt (fma z x (* y (+ z x))))

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

series447.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(fma z x (* y (+ z x)))
48.0ms
(fma z x (* y (+ z x)))
172.0ms
(sqrt (fma z x (* y (+ z x))))
171.0ms
(sqrt (fma z x (* y (+ z x))))

simplify1.5s

Counts
62 → 62
Iterations

Useful iterations: done (1.5s)

IterNodesCost
051750
1103674
2264616
31004608
done5000602

prune330.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 22.7b

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(fma z x (* y (+ z x)))
1.0b
(fma z x (* y (+ z x)))
22.2b
(cbrt (fma z x (* y (+ z x))))
22.2b
(cbrt (fma z x (* y (+ z x))))

rewrite4.0ms

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

series883.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(fma z x (* y (+ z x)))
31.0ms
(fma z x (* y (+ z x)))
405.0ms
(cbrt (fma z x (* y (+ z x))))
388.0ms
(cbrt (fma z x (* y (+ z x))))

simplify4.2s

Counts
58 → 58
Iterations

Useful iterations: 4 (2.1s)

IterNodesCost
055714
1109690
2242620
3838610
44179594
done5000594

prune337.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 22.7b

localize51.0ms

Local error

Found 4 expressions with local error:

22.2b
(cbrt (fma z x (* y (+ z x))))
22.2b
(cbrt (fma z x (* y (+ z x))))
22.2b
(cbrt (fma z x (* y (+ z x))))
22.2b
(cbrt (fma z x (* y (+ z x))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 52
Calls
4 calls:
1.0ms
(cbrt (fma z x (* y (+ z x))))
1.0ms
(cbrt (fma z x (* y (+ z x))))
1.0ms
(cbrt (fma z x (* y (+ z x))))
1.0ms
(cbrt (fma z x (* y (+ z x))))

series1.6s

Counts
4 → 12
Calls
4 calls:
427.0ms
(cbrt (fma z x (* y (+ z x))))
434.0ms
(cbrt (fma z x (* y (+ z x))))
364.0ms
(cbrt (fma z x (* y (+ z x))))
370.0ms
(cbrt (fma z x (* y (+ z x))))

simplify3.5s

Counts
64 → 64
Iterations

Useful iterations: done (3.5s)

IterNodesCost
043852
194840
2186764
3430744
4845712
51951692
done5000684

prune393.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 22.7b

regimes322.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11714
done1714

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.1s8000×body80valid
633.0ms8026×body80nan