Details

Time bar (total: 10.6s)

sample28.0ms

Algorithm
intervals
Results
14.0ms270×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify1.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01215
15415
214614
331714
497414
5316714
done500014

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity
18×prod-diff
17×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in associate-*r/
frac-sub
tanh-def
pow1 add-exp-log associate-*r* add-cbrt-cube
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 77
Calls
3 calls:
1.0ms
(tanh (/ x y))
27.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series547.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(tanh (/ x y))
219.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
248.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify600.0ms

Counts
86 → 86
Iterations

Useful iterations: 2 (173.0ms)

IterNodesCost
01962041
14541690
216381438
done50001438

prune239.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
31×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
11×associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube
tanh-def
associate-*r* add-log-exp
sub-neg
expm1-log1p-u fma-def pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 105
Calls
3 calls:
1.0ms
(tanh (/ x y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
27.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series577.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(tanh (/ x y))
337.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
163.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify929.0ms

Counts
114 → 114
Iterations

Useful iterations: 2 (349.0ms)

IterNodesCost
02362937
16532426
225782058
done50002058

prune305.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

4.6b
(fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)
5.0b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
5.0b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
26.8b
(/ (* (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity prod-diff
32×add-cube-cbrt
24×associate-*r/
22×distribute-rgt-in distribute-lft-in
19×add-exp-log add-cbrt-cube
18×frac-sub
14×pow1
12×tanh-def
10×associate-*r*
prod-exp cbrt-unprod
pow-prod-down
expm1-log1p-u sub-neg flip3-- flip-- log1p-expm1-u add-log-exp
times-frac associate-/r*
cbrt-undiv div-exp associate-*l* associate-/r/ *-commutative associate-/l/ distribute-lft-out-- difference-of-squares
frac-2neg clear-num fma-udef div-inv associate-/l*
Counts
4 → 147
Calls
4 calls:
0.0ms
(fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)
30.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
27.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
10.0ms
(/ (* (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

series789.0ms

Counts
4 → 12
Calls
4 calls:
231.0ms
(fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)
161.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
161.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
236.0ms
(/ (* (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify1.2s

Counts
159 → 159
Iterations

Useful iterations: 2 (432.0ms)

IterNodesCost
02425564
17024229
230333463
done50003463

prune440.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 4 expressions with local error:

7.8b
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
7.8b
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
7.8b
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
26.8b
(/ (* (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (- x (* (* (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
35×associate-*r/
33×cbrt-div
27×frac-sub
18×tanh-def
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod times-frac pow1/3 associate-/r*
cbrt-undiv div-exp associate-/r/ associate-/l/
frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 93
Calls
4 calls:
16.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
18.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
16.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
10.0ms
(/ (* (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (- x (* (* (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))))

series1.4s

Counts
4 → 12
Calls
4 calls:
377.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
378.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
379.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
232.0ms
(/ (* (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (- x (* (* (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))))

simplify774.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (234.0ms)

IterNodesCost
02265435
16805348
224543797
done50013797

prune580.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.2b

regimes165.0ms

Accuracy

0% (1.7b remaining)

Error of 2.0b against oracle of 0.3b and baseline of 2.0b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11214
done1214

end0.0ms

sample626.0ms

Algorithm
intervals
Results
362.0ms8278×body80valid
20.0ms120×body640valid
12.0ms50×body1280valid
8.0ms63×body320valid
3.0ms32×body160valid