Details

Time bar (total: 9.3s)

sample101.0ms

Algorithm
intervals
Results
45.0ms118×body1280valid
15.0ms71×body640valid
11.0ms256×pre80true
4.0ms23×body320valid
2.0ms36×body80valid
1.0msbody160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.9b

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.2b
(tan (+ y z))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
18×prod-diff
17×add-cube-cbrt
11×associate-+r+
10×add-log-exp
tan-quot
pow1 add-exp-log expm1-log1p-u fma-def fma-neg add-cbrt-cube log1p-expm1-u
sub-neg tan-sum diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 72
Calls
3 calls:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
8.0ms
(- (tan (+ y z)) (tan a))
4.0ms
(tan (+ y z))

series333.0ms

Counts
3 → 9
Calls
3 calls:
139.0ms
(+ x (- (tan (+ y z)) (tan a)))
137.0ms
(- (tan (+ y z)) (tan a))
57.0ms
(tan (+ y z))

simplify94.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0276685
1732540
23128507
35001488

prune244.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (tan z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l/
15×add-sqr-sqrt
14×tan-quot
13×add-exp-log *-un-lft-identity add-cbrt-cube
11×add-cube-cbrt
pow1 associate-/l/
associate-*r* associate-*l* frac-sub add-log-exp
flip3-- flip--
expm1-log1p-u log1p-expm1-u
fma-def flip3-+ times-frac frac-add prod-exp cbrt-unprod flip-+ associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp pow-prod-down associate-/r/ *-commutative unswap-sqr
+-commutative frac-2neg div-sub clear-num associate-/r* sum-log div-inv distribute-lft-out
Counts
4 → 98
Calls
4 calls:
6.0ms
(+ (tan y) (tan z))
6.0ms
(* (tan y) (tan z))
8.0ms
(* (tan y) (tan z))
16.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

series843.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(+ (tan y) (tan z))
103.0ms
(* (tan y) (tan z))
103.0ms
(* (tan y) (tan z))
530.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))

simplify73.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05621271
125681119
250021111

prune534.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan y) (sin z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
0.2b
(/ (* (tan y) (sin z)) (cos z))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
17×associate-*l/
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
10×tan-quot
associate-/l/
pow1
times-frac associate-*r* associate-*l* frac-sub
flip3-- flip--
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r* cbrt-unprod log1p-expm1-u associate-/l* add-log-exp
frac-2neg flip3-+ pow-prod-down frac-add clear-num associate-/r/ *-commutative flip-+ div-inv unswap-sqr
frac-times div-sub associate-*r/
Counts
4 → 102
Calls
4 calls:
6.0ms
(* (tan y) (tan z))
6.0ms
(* (tan y) (sin z))
19.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
7.0ms
(/ (* (tan y) (sin z)) (cos z))

series828.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(* (tan y) (tan z))
73.0ms
(* (tan y) (sin z))
538.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (/ (* (tan y) (sin z)) (cos z))) (cos a)))
111.0ms
(/ (* (tan y) (sin z)) (cos z))

simplify83.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06501457
130821262
250021262

prune604.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize39.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(/ (* (tan y) (sin z)) (cos z))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))) (cos a)))
0.3b
(* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
21×times-frac
20×add-sqr-sqrt
18×cbrt-undiv add-cube-cbrt *-un-lft-identity div-exp prod-exp cbrt-unprod
17×associate-*l/
11×pow1
10×associate-/l/
swap-sqr associate-*r* associate-*l* associate-/r* div-inv
tan-quot frac-sub
flip3-- flip-- associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
flip3-+ frac-add associate-/r/ flip-+
pow2 frac-times pow-plus div-sub associate-*r/ pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
Counts
4 → 140
Calls
4 calls:
7.0ms
(/ (* (tan y) (sin z)) (cos z))
6.0ms
(/ (* (tan y) (sin z)) (cos z))
17.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))) (cos a)))
13.0ms
(* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))

series948.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ (* (tan y) (sin z)) (cos z))
111.0ms
(/ (* (tan y) (sin z)) (cos z))
587.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))) (cos a)))
140.0ms
(* (/ (* (tan y) (sin z)) (cos z)) (/ (* (tan y) (sin z)) (cos z)))

simplify117.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08332458
146081959
250011959

prune772.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

regimes559.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03937
13937

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.6s3943×body1280valid
434.0ms1912×body640valid
327.0ms8000×pre80true
112.0ms717×body320valid
53.0ms1146×body80valid
30.0ms282×body160valid