Details

Time bar (total: 25.7s)

sample59.0ms

Algorithm
intervals
Results
25.0ms268×body80valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody320valid

simplify2.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
01215
15415
214714
333414
4101214
5484414
done500014

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(tanh (/ x y))
1.0b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.2b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
18.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ x y))
84.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series1.3s

Counts
4 → 12
Calls
4 calls:
357.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
126.0ms
(tanh (/ x y))
392.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
436.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify1.7s

Counts
126 → 126
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02213259
15932726
224142368
done50012137

prune561.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize21.0ms

Local error

Found 4 expressions with local error:

1.2b
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
2.3b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.3b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.3b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
27×frac-sub
18×tanh-def
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 88
Calls
4 calls:
0.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
12.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series2.0s

Counts
4 → 12
Calls
4 calls:
372.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
511.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
545.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
532.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify905.0ms

Counts
100 → 100
Iterations

Useful iterations: done (900.0ms)

IterNodesCost
01863407
15073320
216782939
done50002876

prune730.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize39.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
3.9b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
45×prod-diff
41×add-sqr-sqrt *-un-lft-identity
37×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
18×frac-sub
13×tanh-def
11×associate-*r/
pow1 add-exp-log add-cbrt-cube
add-log-exp
sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def fma-neg pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative flip3-+ diff-log associate-*l* sum-log *-commutative flip-+
Counts
4 → 142
Calls
4 calls:
24.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
4.0ms
(tanh (/ x y))
34.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
77.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series1.3s

Counts
4 → 12
Calls
4 calls:
555.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
126.0ms
(tanh (/ x y))
370.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
287.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify3.2s

Counts
154 → 154
Iterations

Useful iterations: 2 (910.0ms)

IterNodesCost
02614155
17873462
244822986
done50002986

prune555.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.3b

localize25.0ms

Local error

Found 4 expressions with local error:

2.3b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.3b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.3b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.8b
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite334.0ms

Algorithm
rewrite-expression-head
Rules
297×cbrt-div
243×frac-sub
162×tanh-def
154×associate-*r/
121×frac-times
27×flip3-- flip--
16×pow1 add-exp-log
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
12×add-cbrt-cube
11×associate-*l/
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 distribute-lft-out-- difference-of-squares
associate-*r* associate-*l* *-commutative
Counts
4 → 245
Calls
4 calls:
12.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
267.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

series2.5s

Counts
4 → 12
Calls
4 calls:
642.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
637.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
557.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
642.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

simplify2.4s

Counts
257 → 257
Iterations

Useful iterations: 2 (1.3s)

IterNodesCost
051313825
1147913396
2455613144
done500013144

prune3.3s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.3b

regimes239.0ms

Accuracy

6.6% (1.7b remaining)

Error of 2.2b against oracle of 0.5b and baseline of 2.3b

bsearch4.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02593
13193
done3193

end0.0ms

sample1.4s

Algorithm
intervals
Results
821.0ms8337×body80valid
46.0ms56×body320valid
24.0ms90×body640valid
13.0ms37×body1280valid
6.0ms38×body160valid