Details

Time bar (total: 11.2s)

sample25.0ms

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

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01215
15415
214614
331314
494614
5298114
done500014

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.3b

localize15.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)

rewrite30.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))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series533.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(tanh (/ x y))
208.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
247.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify531.0ms

Counts
86 → 86
Iterations

Useful iterations: 2 (171.0ms)

IterNodesCost
01962041
14541690
214421438
done50011438

prune251.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize11.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))))

rewrite39.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))))

series563.0ms

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

simplify886.0ms

Counts
114 → 114
Iterations

Useful iterations: 2 (409.0ms)

IterNodesCost
02362937
16532426
225422058
done50012058

prune325.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

localize15.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
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity prod-diff
32×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in associate-*r/
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-*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)
29.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
27.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
8.0ms
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

series868.0ms

Counts
4 → 12
Calls
4 calls:
230.0ms
(fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)
156.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
154.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))
329.0ms
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)) (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))))

simplify1.4s

Counts
159 → 159
Iterations

Useful iterations: 2 (637.0ms)

IterNodesCost
02505591
17274828
231223578
done50013578

prune478.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize25.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
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)) (- 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))))))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div associate-*r/
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-*l/ 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)))))
16.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
16.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
8.0ms
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)) (- 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.5s

Counts
4 → 12
Calls
4 calls:
379.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
374.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
376.0ms
(cbrt (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
334.0ms
(/ (* (- x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))) (fma (* y z) (- (tanh (/ t y)) (tanh (/ x y))) x)) (- 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))))))))

simplify878.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (293.0ms)

IterNodesCost
02325462
17005375
225633822
done50003822

prune614.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.2b

regimes168.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

sample612.0ms

Algorithm
intervals
Results
341.0ms8278×body80valid
21.0ms120×body640valid
11.0ms50×body1280valid
7.0ms63×body320valid
2.0ms32×body160valid