Details

Time bar (total: 17.4s)

sample106.0ms

Algorithm
intervals
Results
49.0ms256×body80valid
34.0ms273×body80nan

simplify45.0ms

Counts
1 → 1
Iterations
IterNodes
done65
465
361
243
122
011

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 18.5b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

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

series218.0ms

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

simplify2.4s

Counts
33 → 33
Iterations
IterNodes
done5000
43328
3709
2230
1107
053

prune184.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 18.5b

localize23.0ms

Local error

Found 2 expressions with local error:

1.0b
(fma (+ x y) z (* y x))
18.5b
(pow (fma (+ x y) z (* y x)) 1/2)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
pow1 pow-unpow unpow-prod-down add-exp-log
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp
pow-to-exp pow-pow pow-exp fma-udef unpow1/2 sqr-pow
Counts
2 → 32
Calls
2 calls:
0.0ms
(fma (+ x y) z (* y x))
2.0ms
(pow (fma (+ x y) z (* y x)) 1/2)

series290.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(fma (+ x y) z (* y x))
264.0ms
(pow (fma (+ x y) z (* y x)) 1/2)

simplify3.0s

Counts
38 → 38
Iterations
IterNodes
done5000
44879
31417
2491
1195
078

prune268.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 16.0b

localize20.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.6b
(+ (+ (* x y) (* x z)) (* y z))
18.5b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite126.0ms

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

series295.0ms

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

simplify3.3s

Counts
63 → 63
Iterations
IterNodes
done5000
34736
21020
1274
094

prune328.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 16.0b

localize49.0ms

Local error

Found 4 expressions with local error:

1.0b
(fma (+ x y) z (* y x))
1.0b
(fma (+ x y) z (* y x))
18.8b
(pow (fma (+ x y) z (* y x)) (/ 1/2 2))
18.8b
(pow (fma (+ x y) z (* y x)) (/ 1/2 2))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
26×pow-unpow
20×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
18×times-frac
pow1 unpow-prod-down add-exp-log
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp
pow-to-exp pow-pow pow-exp fma-udef div-inv sqr-pow
Counts
4 → 82
Calls
4 calls:
0.0ms
(fma (+ x y) z (* y x))
0.0ms
(fma (+ x y) z (* y x))
3.0ms
(pow (fma (+ x y) z (* y x)) (/ 1/2 2))
3.0ms
(pow (fma (+ x y) z (* y x)) (/ 1/2 2))

series791.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(fma (+ x y) z (* y x))
33.0ms
(fma (+ x y) z (* y x))
389.0ms
(pow (fma (+ x y) z (* y x)) (/ 1/2 2))
334.0ms
(pow (fma (+ x y) z (* y x)) (/ 1/2 2))

simplify1.8s

Counts
94 → 94
Iterations
IterNodes
done5004
31725
2595
1242
098

prune615.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 16.0b

regimes512.0ms

Accuracy

86.5% (0.4b remaining)

Error of 16.0b against oracle of 15.6b and baseline of 18.7b

bsearch2.0ms

simplify7.0ms

Iterations
IterNodes
done26
126
018

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.5s7768×body80nan
1.1s8000×body80valid