Details

Time bar (total: 10.4s)

sample183.0ms

Algorithm
intervals
Results
107.0ms137×body1280valid
29.0ms65×body640valid
10.0ms256×pre80true
4.0ms15×body320valid
3.0ms30×body80valid
2.0msbody160valid

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.6b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
17.0ms
(- (tan (+ y z)) (tan a))
15.0ms
(+ x (- (tan (+ y z)) (tan a)))
7.0ms
(tan (+ y z))

series257.0ms

Counts
3 → 9
Calls
3 calls:
102.0ms
(- (tan (+ y z)) (tan a))
107.0ms
(+ x (- (tan (+ y z)) (tan a)))
48.0ms
(tan (+ y z))

simplify39.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune150.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite259.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
29.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
133.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
80.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
15.0ms
(* (tan y) (tan z))

series936.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
312.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
347.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
84.0ms
(* (tan y) (tan z))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04491259
115031211
250011204

prune351.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite691.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity
11×add-log-exp
pow1 add-cube-cbrt
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*r* associate-*l*
sub-neg associate-+r+ times-frac diff-log sum-log sin-mult distribute-lft-out distribute-lft-out-- difference-of-squares
tan-quot +-commutative associate-+r- flip3-- frac-2neg flip3-+ pow-prod-down clear-num associate-/r* associate-/r/ cos-mult *-commutative frac-sub flip-- flip-+ div-inv associate-/l/ associate-/l* unswap-sqr
Counts
4 → 75
Calls
4 calls:
408.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
250.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
18.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
12.0ms
(* (sin y) (sin z))

series786.0ms

Counts
4 → 12
Calls
4 calls:
308.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a)))
349.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (/ (* (sin y) (sin z)) (* (cos y) (cos z))))) (tan a))
88.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
41.0ms
(* (sin y) (sin z))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04381203
118301082
250011082

prune372.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize35.0ms

Local error

Found 4 expressions with local error:

0.2b
(exp (/ (* (sin y) (sin z)) (* (cos y) (cos z))))
0.2b
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
0.2b
(* (sin y) (sin z))
4.0b
(log (exp (/ (* (sin y) (sin z)) (* (cos y) (cos z)))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
12×exp-prod
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 log-pow
prod-exp associate-/r/ cos-mult cbrt-unprod add-log-exp
cbrt-undiv log-prod div-exp
times-frac associate-*r* associate-*l* div-inv
exp-lft-sqr sin-mult
frac-2neg rem-log-exp pow-prod-down clear-num associate-/r* *-commutative rem-exp-log associate-/l/ associate-/l* unswap-sqr
Counts
4 → 76
Calls
4 calls:
17.0ms
(exp (/ (* (sin y) (sin z)) (* (cos y) (cos z))))
18.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
13.0ms
(* (sin y) (sin z))
17.0ms
(log (exp (/ (* (sin y) (sin z)) (* (cos y) (cos z)))))

series330.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(exp (/ (* (sin y) (sin z)) (* (cos y) (cos z))))
88.0ms
(/ (* (sin y) (sin z)) (* (cos y) (cos z)))
40.0ms
(* (sin y) (sin z))
89.0ms
(log (exp (/ (* (sin y) (sin z)) (* (cos y) (cos z)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0292778
11410646
25002646

prune388.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes293.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.0s3888×body1280valid
879.0ms2005×body640valid
320.0ms8000×pre80true
220.0ms664×body320valid
105.0ms1173×body80valid
59.0ms270×body160valid